<template>
  <div class="backToHome">
    <router-link to="/" class="RouterStyle">
      <span class="iconfont return">&#xe600;</span>
    </router-link>
  </div>
  <div class="VideoDisplay">
    <!-- 视频页面 -->
    <iframe
      src="//player.bilibili.com/player.html?aid=681232577&bvid=BV1uS4y157rd&cid=499712881&page=1"
      scrolling="no"
      border="0"
      frameborder="no"
      framespacing="0"
      allowfullscreen="true"
    ></iframe>
  </div>
  <section class="VideoTxtContent">
    <p class="title">{{ $route.query.title }}</p>
    <ul>
      <li>{{ $route.query.cate }}</li>
      <!--       <li>时间</li> -->
      <li>{{ $route.query.viewCount }}次播放</li>
    </ul>
    <p class="introduction">
      {{ $route.query.content }}
    </p>
    <div class="author-wapper">
      <p>创作人：{{ $route.query.author }}</p>
    </div>
  </section>
</template>
<script setup></script>
<style lang="scss" scoped>
.return {
  font-size: 30px;
  color: #fff;
  margin-left: 10%;
}
.backToHome {
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
}
.VideoDisplay {
  width: 100%;
  height: 35vh;
}
.VideoDisplay iframe {
  width: 100%;
  height: 100%;
}

.VideoTxtContent {
  border-bottom: rgba(152, 152, 152, 0.106) 0.5px solid;
  .title {
    padding: 2vw;
    font-size: 20px;
    text-align: center;
  }
  .introduction {
    padding: 5vw;
    font-size: 15px;
    color: rgb(64, 64, 64);
  }
  ul {
    display: flex;
    width: 100%;
    justify-content: space-around;
    font-size: 10px;
    color: rgb(87, 87, 87);
    li {
      padding: 2vw;
    }
  }
  p {
    padding: 2vw;
  }
}
</style>
